<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>浮动定位</title>
    <meta name="keywords" content="HTML基础"/>
    <meta http-equiv="content-type" content="text/html;charset=utf-8"/>
    <style type="text/css">
        div {
            border:1px solid black;
        }
    </style>
</head>
<body>
<div style="height: 100px;width: 100px;background-color: red;float: right;margin-left:100px;">

</div>

<div style="height: 200px;width: 20px;background-color: #cccccc">

</div>

<div style="height: 300px;background-color: green;">

</div>
</body>
</html>
